//
//  CheckGatewayOnlineConfigApi.h
//  Pods
//
//  Created by tracyhenry on 2022/9/20.
//

#ifndef CheckGatewayOnlineConfigApi_h
#define CheckGatewayOnlineConfigApi_h

typedef  void(^Error_handler)(NSError * error,id data);

@interface CheckGatewayOnlineConfigApi : NSObject

@property(nonatomic,copy) NSString * devId;
@property(nonatomic,copy) NSString * mac;
@property(nonatomic,assign) int msgId;
@property(nonatomic,strong) Error_handler handler;

-(id)initWithDevId:(NSString *)devId withMac:(NSString *)mac withHandler:(void(^)(NSError *,id))handler;

-(void)startSend;

@end

#endif /* CheckGatewayOnlineConfigApi_h */
